var score=[59,66,64,80,78,90,55,37,60,52];
var failscore=[];
for(var i=0;i<score.length;i++){
    if(score[i]<60){
        failscore.push(score[i]);
    }
}
console.log(failscore);
console.log("不及格人数："+failscore.length);